package com.intellagric.mapper;

import com.intellagric.pojo.CmsImage;
import com.intellagric.pojo.CmsImageExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CmsImageMapper {
    long countByExample(CmsImageExample example);

    int deleteByExample(CmsImageExample example);

    int deleteByPrimaryKey(String id);

    int insert(CmsImage record);

    int insertSelective(CmsImage record);

    List<CmsImage> selectByExample(CmsImageExample example);

    CmsImage selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") CmsImage record, @Param("example") CmsImageExample example);

    int updateByExample(@Param("record") CmsImage record, @Param("example") CmsImageExample example);

    int updateByPrimaryKeySelective(CmsImage record);

    int updateByPrimaryKey(CmsImage record);
}